update the csv