Update search query in the url.