updated totaldays