Added Database.update() method (test not yet working)