updateState
Records a state change in actions stateDelta (copy-on-write) so it appears in state and flushes on the next event. State.TEMP_PREFIX keys are never stored; keys without an app:, user: or temp: prefix must match the node's state schema, if any, and the checked value is stored.