update from stream