code: function(params, callback) {
              params = params || {};
              
              if (!params.search) {
                  var update = this._super;
                  var req = this.fetch(function(err, search) {
                      if (err) {
                          callback(err);
                      }
                      else {
                          params.search = search.properties().search;
                          update.call(search, params, function() {
                              if (req.wasAborted) {
                                  return; // aborted, so ignore
                              }
                              else {
                                  callback.apply(null, arguments);
                              }
                          });
                      }
                  });
                  
                  return req;
              }
              else {
                  return this._super(params, callback);
              }
          }
docs: Updates the saved search on the server.
  
  **Note:** The search query is required, even when it isn't being modified.
  If you don't provide it, this method will fetch the search string from
  the server or from the local cache.
  
  @param {Object} props The properties to update the saved search with. For a list of available parameters, see <a href="http://dev.splunk.com/view/SP-CAAAEFA#savedsearchparams" target="_blank">Saved search parameters</a> on Splunk Developer Portal.
  @param {Function} callback A function to call when the object is updated: `(err, entity)`.
  
  @method splunkjs.Service.SavedSearch