Updating samples to use new version of SDK