updates fs call to new json file