publish flag