fixed the updating of the weeknumber