update xml stream