change resource base url