update to last api of .NET plugin