update x-math