update xml file with pg offsets