Defining markerUpdated