Updated doctest. Gave up AJAX for save update (code not minimal).