update for new format of resources.json