update km.sql file