Enitiy name should not be part of the primary key 

If two entities have the same regid but different entity names, the most recent entity name should be kept.