add modifyArticle and updateArticle function