make refresch interval configurable