fix example as SegmentId has changed to int64