code: public static base_response update(nitro_service client, lbparameter resource) throws Exception {
  		lbparameter updateresource = new lbparameter();
  		updateresource.httponlycookieflag = resource.httponlycookieflag;
  		updateresource.consolidatedlconn = resource.consolidatedlconn;
  		updateresource.useportforhashlb = resource.useportforhashlb;
  		updateresource.preferdirectroute = resource.preferdirectroute;
  		updateresource.startuprrfactor = resource.startuprrfactor;
  		updateresource.monitorskipmaxclient = resource.monitorskipmaxclient;
  		updateresource.monitorconnectionclose = resource.monitorconnectionclose;
  		updateresource.vserverspecificmac = resource.vserverspecificmac;
  		return updateresource.update_resource(client);
  	}
docs: Use this API to update lbparameter.