use config in patch task