updating refresh interval