updating relative url