update sort