updating the passing of the url