Update

Update to database file, more work needed though