merge index