Update database.java