updating db config