Added method to update the data with the csv information.