update xml definition