modify model xml file