Update flag data periodically.
Add missing switch break.