code: function(props, callback) {
              callback = callback || function() {};
              
              if (props.hasOwnProperty("name")) {
                  throw new Error("Cannot set 'name' field in 'update'");
              }
              
              var that = this;
              var req = this.post("", props, function(err, response) {
                  if (!err && !that.fetchOnUpdate) {
                      that._load(response.data.entry);
                      callback(err, that);
                  }
                  else if (!err && that.fetchOnUpdate) {
                      that.fetch(function() {
                          if (req.wasAborted) {
                              return; // aborted, so ignore
                          }
                          else {
                              callback.apply(null, arguments);
                          }
                      });
                  }
                  else {
                      callback(err, that);
                  }
              });
              
              return req;
          }
docs: Updates the entity on the server.
  
  @param {Object} props The properties to update the object with.
  @param {Function} callback A function to call when the object is updated: `(err, entity)`.
  
  @method splunkjs.Service.Entity
  @protected