lib/api/view.js
function update(name, config, cb) {
  this.remoteAccessApi.postViewConfig(name, config, this.opts.headers, cb);
}
function update(name, config, cb) {
  this.remoteAccessApi.postViewConfig(name, config, this.opts.headers, cb);
}
function update ( name , config , cb ) { this . remoteAccessApi . postViewConfig ( name , config , this . opts . headers , cb ) ; }
Update a view with specified configuration

@param {String} name: Jenkins view name
@param {String} config: Jenkins view config.xml
@param {Function} cb: standard cb(err, result) callback
Update a view with specified configuration