update samples.