Rework the publish state logic