Updating the database structure to account for sharing.