updates vocabulary to new structure