updated upload method usage at all samples