code: public static void add(Document document, String name) {
          Element element = findElement(document, name);
  
          AssertUtils.assertNotNull(element, "Failed to find element by name: " + name);
  
          add(element);
      }
docs: Adds/updates one specific query from XML file into Repository
  
  @param document document which would be read
  @param name     query which should be loaded