configure db