@Override
  public void update(final Project project, @Nullable VirtualFile root) {
    ApplicationManager.getApplication().invokeLater(() -> {
      if (!myProject.isDisposed()) {
        refreshAll();
      }
    });
  }
@Override
  public void update(final Project project, @Nullable VirtualFile root)