repopulate query when area is clicked