Update state machine initialization