Updating animation time