Updating Nuget packages in some samples

fixed two lines of code to work with latest SS