Emitting event on model changes