put route for updating a single entry added to server