updated gui flag