finish upload-article function