public static void editBook(Messagable ui, String oldIsbn, String isbn, String category, String author, String title, float dailyLateFee, float maxLateFee, int numberOfCopies){
		Book book = Book.getBook(oldIsbn);
		boolean editItemSuccess = true;
		//If the number of copies currently loaned out is greater than then new number of copies
		//the edit fails and a message is displayed
		if(book.getCopies()-book.copiesAvaliable() > numberOfCopies){
			editItemSuccess = false;
			ui.sendMessage("ERROR: The Number of copies currently loaned out is greater than the new number of copies");
		}
		//If the item' category is being changed, test to make sure there isn't already an item of
		//the same name in the new category
		if(!isbn.equals(oldIsbn) && Book.bookExists(isbn)){
			editItemSuccess = false;
			ui.sendMessage("ERROR: There is already book with that ISBN in that category");
		}
		//Field Verification from addBook()
		boolean itemAdded = true;
		if(numberOfCopies < 1){
			itemAdded = false;
			ui.sendMessage("ERROR: Must have at least 1 copy.");
		}
		if(isbn.isEmpty()){
			itemAdded = false;
			ui.sendMessage("ERROR: Enter an isbn");
		}
		if(dailyLateFee < 0){
			itemAdded = false;
			ui.sendMessage("ERROR: Enter a Daily Late Fee");
		}
		if(maxLateFee < dailyLateFee){
			itemAdded = false;
			ui.sendMessage("ERROR: Max Late Fee must be less than Daily Late Fee");
		}
		if(maxLateFee < 0){
			itemAdded = false;
			ui.sendMessage("ERROR: Enter a Max Late Fee");
		}
		if(itemAdded){
			Book.removeBook(oldIsbn);
			Book updatedBook = new Book(isbn, category, title, author, dailyLateFee, maxLateFee, numberOfCopies);
			updatedBook.transferCopiesAndReservationsTo(updatedBook);
			Book.addBook(updatedBook);
			ui.sendMessage("SUCCESS: Book edited");
		}
	}