Return values from update actions
Atomically create keys
Reorganize state module
Return the updated values
Create a function for querying a single key