library update on save/save, completing issue #2