Update quick sort