public void updateInstanceConfig(InstanceConfig instanceConfig) {
    if (sslPort != null) {
      instanceConfig.getRecord().setSimpleField(SSL_PORT_STR, Integer.toString(sslPort));
    }
    if (http2Port != null) {
      instanceConfig.getRecord().setSimpleField(HTTP2_PORT_STR, Integer.toString(http2Port));
    }
    instanceConfig.getRecord().setBooleanField(VCR_HELIX_CONFIG_READY, configReady);
  }
Based on this {@link VcrInstanceConfig} to update the {@link InstanceConfig}
@param instanceConfig the helix {@link InstanceConfig}
ambry-cloud/src/main/java/com/github/ambry/cloud/azure/VcrInstanceConfig.java