Update to Database.py