if there is no error, don't send back an error property. Send a `res.json({result: "updated"})` instead.