Fixed available_count not updating correctly by building LibraryBook instead of creating it if it does not exist