Adding sort key to update function