add route to edit page