code: function(props, callback) {
              if (utils.isUndefined(callback)) {
                  callback = props;
                  props = {};
              }
              callback = callback || function() {};
  
              if (!props) {
                  callback(new Error("Must specify a props argument to update a data model."));
                  return; // Exit if props isn't set, to avoid calling the callback twice.
              }
              if (props.hasOwnProperty("name")) {
                  callback(new Error("Cannot set 'name' field in 'update'"), this);
                  return; // Exit if the name is set, to avoid calling the callback twice.
              }
  
              var updatedProps = {
                  acceleration: JSON.stringify({
                      enabled: props.accceleration && props.acceleration.enabled || this.acceleration.enabled,
                      earliest_time: props.accceleration && props.acceleration.earliestTime || this.acceleration.earliestTime,
                      cron_schedule: props.accceleration && props.acceleration.cronSchedule || this.acceleration.cronSchedule
                  })
              };
  
              var that = this;
              return this.post("", updatedProps, function(err, response) {
                  if (err) {
                      callback(err, that);
                  }
                  else {
                      var dataModelNamespace = utils.namespaceFromProperties(response.data.entry[0]);
                      callback(null, new root.DataModel(that.service, response.data.entry[0].name, dataModelNamespace, response.data.entry[0]));
                  }
              });
          }
docs: Updates the data model on the server, used to update acceleration settings.
  
  @param {Object} props A dictionary of properties to update the object with:
  - `acceleration` (_object_): The acceleration settings for the data model.
  Valid keys are: `enabled`, `earliestTime`, `cronSchedule`.
  Any keys not set will be pulled from the acceleration settings already
  set on this data model.
  @param {Function} callback A function to call when the data model is updated: `(err, dataModel)`.
  
  @method splunkjs.Service.DataModel