code: function (err, numAffected) {
                          // numAffected is the number of updated documents
                          if (err) {
                              log.error(err);
                              return res.status(403).json({ error: err.message });
                          }
                          if (after) {
                              after(
                                  {
                                      req: req,
                                      res: res,
                                      numAffected: numAffected,
                                      extras: _extras
                                  },
                                  send
                              );
                          } else {
                              send();
                          }
                      }
docs: options