sortupdate bug fixed