Update definition classes and store animation names