marker now updated to map only when map is visible