time update and FSM creation