Updating week_number calculation.