code: final void changePath(String pathName, String path) {
          PathEntry pathEntry = findPathEntry(pathName);
          pathEntry.setPath(path);
          triggerCallbacksForEvent(pathEntry, Event.UPDATED);
      }
docs: Updates the {@link PathEntry#getPath() path} value for an entry and sends an
  {@link org.jboss.as.controller.services.path.PathManager.Event#UPDATED}
  notification to any registered
  {@linkplain org.jboss.as.controller.services.path.PathManager.Callback#pathEvent(Event, PathEntry) callbacks}.
  @param pathName the logical name of the path within the model. Cannot be {@code null}
  @param path     the value of the path within the model. This is either an absolute path or
  the relative portion of the path. Cannot be {@code null}