update word dict. add all math word into dict.