Update behavior of publish and delete