updating index
merging