update the sample to use in the example