Update math files