modify entity and page