updates for the db