update  sort