update doc about math detection