Update JSON file. Resolve error with editable/confirmed flags