update math and code highlight