fix issue with updating marker location