Update Database.java

Made the identifier an integer instead of string