Update URL query string and redirect