added refresh on interval