Fixed a bug where the program wouldn't update the JSON correctly