rewrite cfg provider from database (test)