add supports for db config