correct routes to edit and delete items