update config for url