finish modify the cart