adding an edit page