update kazmath