update config factory