improve generate article content handler