Update DatabaseFactory.h