update bubble arith