Ported to C++: Database_Modifications