Updating db config