finnally got automatic refresh working, for heavens sake