State Manger and Transition

Updating State