update at the end of the day