Updating location for image