Update segmenter for latins
Update segment code