Updating samples with the latest SDK