more specific save_config method