modify mongodb database structure