updates shopping cart