made update interval changeable