tzhang - update database structure