updating xpath ref