Add update config functionality