update XML stuff.