update the browser URL when searching