Update deprcated methods in locationUtils