updateAverageFlavors() added.