update inline math