Fixed database wipe bug from Update.py