Update sample to latest SDK