update uploadFileDemo