Update data base.