update bubblesort path