Updated the gui