update animation in language_class