Making sure search url is updated