organized code, added marker.markerUpdate()