updated flickr and freebase api