Fix edit error

Fix edit page error to edit exiting object.