Updated book deletion functionality