update km.lib