update config model