flag updates pass tests