update for tpc to work