recommit web_update JSON changes separately

See #18, this is the C code from there, but in a separate pull.