sync index with index