update root url in config