updating opportunities index