Extracted UpdateMemorizedSpells()