update shell sort