Add update functionality to cart