merge index tables