Updating: adding support for streams in patsoptaas