updated segment.io tracking