Update the GUI