cart update now checks inventory amount before allowing the update