update dot net sample