implemented removal of mapping between deleted books or categories