Watch the Diminished Chords online guitar lesson by John Stowell from Modern Jazz Improv
The best way to retain new voicings (in this case, diminished, diminished maj7th, melodic and harmonic minor chords as altered dominant chords) is to put them in a context. This could be a short progression like a II-V-I or a chord melody arrangement. Once a particular sequence has been repeated 20-30 times, those sounds/shapes/inversions have become internalized. You can then use these new chords in another cadence or chord melody, apply them when comping, or use the shapes to generate single lines. When accompanying, the top note of each chord should always have a relationship to the top note of the chord which proceeds, and the chord which follows. Interior voice movement and counterpoint can come later.