saving some changes on the cart