add update_config() to view