change entity model