Update CSS selectors with XPath