ok, ho risolto creando una nuova variabile

$new_quantity=$row['quantity']+$_SESSION['quantity'];
$query="UPDATE products SET quantity = '$new_quantity' WHERE designScelto='{$_SESSION[designScelto]}'";