init streams spec and code update.
update pick function and spec in client