Added emitting of contentUpdated event