updating marker position