updated XML interface to new schema