updated assembly version and a minor bug fix in the example code