Update Database.java

added updatePersonInDatabase method