implement patch-config on backend