Bugfix: also update the complete flag when updating a day's data