Updated the database classes.