added a route to edit an item