define makeBlock/saveUploadInfo func