Updates, now generating a Json to a file