query to update quantity in cart