update name of segments