emit `updated` event