update segment script