changing directory index
merging