update definition of DB