End-of-day commit. Some initial implementations on the update function.