change articleIndex in addArticle