udpate sample.