update function and add kml file