update to flag emition