updates the marker location