Refactor update methods of SectionsController and ArticlesController