update tex.