public static UpdateContainer createWorksheetHierarchicalUpdates(
     String worksheetId, SuperSelection sel) {
   UpdateContainer c = new UpdateContainer();
   boolean showCleaningCharts = UIConfiguration.Instance().isD3ChartsEnabled();
   if (showCleaningCharts) c.add(new WorksheetCleaningUpdate(worksheetId, false, sel));
   createWorksheetHierarchicalUpdates(worksheetId, c, sel);
   return c;
 }
 private static void createWorksheetHierarchicalAndCleaningResultsUpdates(
     String worksheetId, UpdateContainer c, SuperSelection sel) {
   boolean showCleaningCharts = UIConfiguration.Instance().isD3ChartsEnabled();
   if (showCleaningCharts) c.add(new WorksheetCleaningUpdate(worksheetId, true, sel));
   createWorksheetHierarchicalUpdates(worksheetId, c, sel);
 }