add numpy types to class Database