Updates the base url.