Add changeMarker function to library