added auto refresh interval