The next step is to implement the part of the code responsible for updating existing cards, as follows:
(defn update-card-handler [id update-card-req]
(db/update! Card id update-card-req)
(ok))
(def card-routes
[ ; ...
(PUT "/cards/:id" []
:path-params [id :- s/Int]
:body [update-card-req CardRequestSchema]
(update-card-handler id update-card-req))])