Update references for path and netloc.