update

FSM working