Fix updating location