fixed tf update