Update history_widget.py