update the tr