updating names in xpath, closes #2