Changed database "unknown" convention

And some other changes