always includes req.doc = res.locals.doc when updating