finished the update method for our CRUDdy app