small update to modify_cart_item logic