Updates for switch for gui based on settings