update JSON file directory