updated check in book to delete borrowed book from borrowed book array