add deletion functionality for publications