docs: function (svc, attributes, options) {
              options = options || {};
              if (!options.success) {
                  throw new Error('Success callback undefined for service call svc: ' + svc);
              }
  
              var error = options.error;
              options.error = function (err) {
                  if (error) {
                      error(err);
                  }
              };
              // use the backbone verbs
              return this.sync(
                  'update',
                  {
                      name: svc,
                      url: svc,
                      params: options.params,
                      ctx: this.ctx,
                      toJSON: function () {
                          return attributes;
                      }
                  },
                  options);
          }