saving progress for the day before I reinitialize the db