Updates Agent API NuGet package to version 2.10.40.0