added leafSelectionUpdate for the map panel