code: public static synchronized void update(Map<String, Object> newConfig) {
          if (newConfig == null)
              throw new NullPointerException("Updated config must not be null");
  
          boolean traceWasDisabled = !TraceComponent.isAnyTracingEnabled();
  
          // Update the logging configuration
          LogProviderConfig config = loggingConfig.get().get();
          if (config != null) {
              config.update(newConfig);
  
              Object o = newConfig.get("suppressSensitiveTrace");
  
              if (o != null) {
                  if (o instanceof String) {
                      suppressSensitiveTrace = Boolean.parseBoolean((String) o);
                  } else if (o instanceof Boolean) {
                      suppressSensitiveTrace = (Boolean) o;
                  }
                  if (suppressSensitiveTrace == true && safeLevelsIndex == null) {
                      setupSafeLevelsIndex();
                  }
              }
  
              TraceSpecification newTs = setTraceSpec(config.getTraceString());
  
              // For updates only, warn if there are strings that we don't know
              if (defaultUpdated && newTs != null)
                  newTs.warnUnmatchedSpecs();
  
              // we've updated the defaults from server.xml (we can set this a million times.. 
              // first pass through is the key.. 
              defaultUpdated = true;
  
              // Propagate updates to the delegate
              getDelegate().update(config);
          }
  
          // issue warning if trace has been enabled and there's no instrumentation agent
          if (!instrumentationAvailable && traceWasDisabled && TraceComponent.isAnyTracingEnabled()) {
              Tr.warning(TraceSpecification.getTc(), "INSTRUMENTATION_SERVICE_UNAVAILABLE");
          }
      }
docs: Update Tr with new configuration values (based on injection via config
  admin). The parameter map should be modified to match actual values used
  (e.g. substitution in case of error).
  
  @param newConfig