code: public static base_response update(nitro_service client, vserver resource) throws Exception {
  		vserver updateresource = new vserver();
  		updateresource.name = resource.name;
  		updateresource.backupvserver = resource.backupvserver;
  		updateresource.redirecturl = resource.redirecturl;
  		updateresource.cacheable = resource.cacheable;
  		updateresource.clttimeout = resource.clttimeout;
  		updateresource.somethod = resource.somethod;
  		updateresource.sopersistence = resource.sopersistence;
  		updateresource.sopersistencetimeout = resource.sopersistencetimeout;
  		updateresource.sothreshold = resource.sothreshold;
  		updateresource.pushvserver = resource.pushvserver;
  		return updateresource.update_resource(client);
  	}
docs: Use this API to update vserver.