commit at end of day