append stream using agg id