Add synonyms, replace synonyms and analytics flags