private void updateActionToolbars() {
      HashSet<String> editedChildrenSet = new HashSet<>();
      if (ActionManager.getInstance().getAction(myGroupID) instanceof ActionGroup group) {
        editedChildrenSet.addAll(Arrays.stream(group.getChildren(null)).map(action -> {
          return ActionManager.getInstance().getId(action);
        }).toList());
      }

      for (IdeFrame frame: WindowManager.getInstance().getAllProjectFrames()) {
        for (Component c : UIUtil.uiTraverser(frame.getComponent()).traverse()) {
          if (c instanceof ActionToolbar toolbar) {
            AnAction foundGroup = ActionUtil.getDelegateChainRootAction(toolbar.getActionGroup());

            String foundId = ActionManager.getInstance().getId(foundGroup);
            if (myGroupID.equals(foundId) || editedChildrenSet.contains(foundId)) {
              toolbar.updateActionsAsync();
            }
          }
        }
      }
    }
private void updateActionToolbars()