Update animations.cpp