Update Km_View.php