Updated Add to cart functionality