Used the new refresh() status in the sketches