update samplesize