Update database.hpp

changing the data base constructor