set the right update interval