link updates
added handling of undefined location data