update history ordering by latest desc