updating xpaths to be dynamic