[update] check file size before upload