update xml stuff