Updates the smart.json file