Updating animation timing