update config with baseurl