developed location update functionality