updated the flag info