inject proper config db