update math tex