updating DB config