update baseurl in config