Update animationDriver.cpp