udpate animation