refine as per barry
update xml