Update segments.h