updated search location when clicking on a row