update property to be an enum class