code: public void updateChain(ChainData inputChain) {
          String chainname = inputChain.getName();
          if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
              Tr.debug(tc, "updateChain: " + chainname);
          }
  
          // Find the chain in the group.
          for (int i = 0; i < this.chainArray.length; i++) {
              if (chainname.equals(this.chainArray[i].getName())) {
                  if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
                      Tr.debug(tc, "Updating chain " + chainname + " in group " + getName());
                  }
                  // Found the chain. Update the array with the new data.
                  this.chainArray[i] = inputChain;
                  break;
              }
          }
      }
docs: Search the group for the input chain. If found, update it. Otherwise do
  nothing.
  
  @param inputChain