update data base