Update how the base url is set