edit article function implemented