change view page to edit page