Update merge when creating entities.