update stateTransition animation