add segment data