update getLocation