deletion of data before storing a checkpoint and reloading it afterwards