you are missing ' after 6 it should be


...
...
$db->Execute("update " . TABLE_CUSTOMERS ." where customers_id = '" . (int)$_SESSION['customer_id'] . '" set customers_group_pricing = '4'");
}