Update Database.cpp

Added 2 functions