updating index for those images