now with working on_saved listener for hooks