update locationManager's lifecycle