change db config