update flag events.