commit json changes