configure DB