updated tosr0x lib
upgrade the code for 0.2.0