Update kazmath