update the data as it comes in