Modify the cart structure