refreshes UI only when new data comes in