Update pi.segment_helper.php