AnimationController script update