update config with base url