modify entity model