Fixed updateJsonFile function, remove some resource checking that caused errors, pushed new nodeList.