fixing update_config output redirection