updated nuget config and fixed samples