modified configure database