code: public static base_responses update(nitro_service client, dnskey resources[]) throws Exception {
  		base_responses result = null;
  		if (resources != null && resources.length > 0) {
  			dnskey updateresources[] = new dnskey[resources.length];
  			for (int i=0;i<resources.length;i++){
  				updateresources[i] = new dnskey();
  				updateresources[i].keyname = resources[i].keyname;
  				updateresources[i].expires = resources[i].expires;
  				updateresources[i].units1 = resources[i].units1;
  				updateresources[i].notificationperiod = resources[i].notificationperiod;
  				updateresources[i].units2 = resources[i].units2;
  				updateresources[i].ttl = resources[i].ttl;
  			}
  			result = update_bulk_request(client, updateresources);
  		}
  		return result;
  	}
docs: Use this API to update dnskey resources.