Using a timer to poll for data and update interface