using level-hooks for post-write notification oon work database