Database.java - insert method changed