set refresh interval