added an auto refresh timer