Update enum declaration.