If entity named A changes its name to B, and an entity by the name B already exists. Implement the mechanism to merge the two entities