Update database.Cpp