updated GUI class