cookbook delete functionality added to index