updates db information