update relative url