Update database.hpp

additional changes