set refresh counter