pudding add set_config method