Added flag updates