updated config creation