modify how day stats get saved in the db