[file update] checked file size before upload & fixed upload-cancel bug