updated DevStates to be an Enum value