able to save/update json file from table