Update animation constants.