updating the animations