Implemented publish/unpublish and delete