code: public static base_responses update(nitro_service client, lbgroup resources[]) throws Exception {
  		base_responses result = null;
  		if (resources != null && resources.length > 0) {
  			lbgroup updateresources[] = new lbgroup[resources.length];
  			for (int i=0;i<resources.length;i++){
  				updateresources[i] = new lbgroup();
  				updateresources[i].name = resources[i].name;
  				updateresources[i].persistencetype = resources[i].persistencetype;
  				updateresources[i].persistencebackup = resources[i].persistencebackup;
  				updateresources[i].backuppersistencetimeout = resources[i].backuppersistencetimeout;
  				updateresources[i].persistmask = resources[i].persistmask;
  				updateresources[i].cookiename = resources[i].cookiename;
  				updateresources[i].v6persistmasklen = resources[i].v6persistmasklen;
  				updateresources[i].cookiedomain = resources[i].cookiedomain;
  				updateresources[i].timeout = resources[i].timeout;
  				updateresources[i].rule = resources[i].rule;
  			}
  			result = update_bulk_request(client, updateresources);
  		}
  		return result;
  	}
docs: Use this API to update lbgroup resources.