update animation to velocity