Updated the sample to the new version