Updating sample to latest version