Make sure update_config() is called early enough