Setting state to STATE_INITIALIZED for successful updates
Allowing state transition STATE_HAS_DATA -> STATE_INITIALIZED
Merge pull request #244 from joakim-hove/master

More state_map updates