updating index for responsive imagemapping