update data state machines