Update gui.py