Fix update interval calculation