using setInterval for poll data update