Update insertionSort