add new and edit artical function