Fixed enum types automatic name updates for referencing fields