updates index for week 4