merging new version of segment.io lib