emit saved event on save