update config of DB