added alternate version of updateCharacterStyles