set position if the marker exists