add segment manage