updated gui refresh