udpate sample