updated the GUI