got auto refresh working