Update MathSpec.