Update Database.cpp

Add unfinished functions