code: def refresh_plugin(self, new_path=None, force_current=True):
          
          self.fileexplorer.treewidget.update_history(new_path)
          self.fileexplorer.treewidget.refresh(new_path,
                                               force_current=force_current)
docs: Refresh explorer widget