after publish and unpublish callbacks