update FSM queries