Use CONSTANTS for states.

Duplicated the state CONSTANTS for now.
A new shared ve with saga installed.
Update to new reality.
Dont delay db update to prevent race conditions.