update multiple file uploads to markdown editor