Code to fill in first_day column in the weeks table