updateStateScopeOf

Creates an UpdateStateScope object with given state and returns it.

Each invocation to this function MUST return a new update state instance.