Update calls to stream
Using byteblock to write and read binary formats