xml writer updates