pickle file of the data and some updates