update_config added in the right places