in update tau speed up t_w_x