updates url paths