update data.csv for data collection