upgraded to v2 of the nymi sdk