trying to implement location update function. but now under going so far.