[update] code to latest stream2 interface
[bump] version 0.2.1