Updated the database model.