change current url from string to URL