Update Database.java

Fixed collision