edit flag: states update, icon setting by formation;