updating location and images