updated auto_segment