upload for editor