quick sort update