Update resource url.