Modify entity.