update nyt api key and some formating