update Sample