replace eri.xml with cm