commit int the end of day