update base url.