add query to urls