Update to GUI code.