changed addOverlay doc api