upgrade flag