Changed helper update_at_xpath to replace current value rather than appending.