saving changes while still working on the cart