update the enumarate