recommit web_update JSON changes separately

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