change the entity reg