xpath api update