code: public void referencedElementUpdated(ModelElementInstance referenceTargetElement, String oldIdentifier, String newIdentifier) {
      for (ModelElementInstance referenceSourceElement : findReferenceSourceElements(referenceTargetElement)) {
        updateReference(referenceSourceElement, oldIdentifier, newIdentifier);
      }
    }
docs: Update the reference identifier
  
  @param referenceTargetElement the reference target model element instance
  @param oldIdentifier the old reference identifier
  @param newIdentifier the new reference identifier