index updated to HW4