Update with Bubble Sort