save updated cart