Updated the database