add configurable refresh interval