updating segment script configs