update the relative location for marker images