update enum constant