Update database.h

fixed some stuff