fix updating product quantity in cart