Update flag.cpp