synchronized void updateCheckout(long checkoutId, int version) throws IOException {
		validate();
		ItemCheckoutStatus coStatus = checkouts.remove(checkoutId);
		if (coStatus != null) {
			CheckoutType checkoutType = coStatus.getCheckoutType();
			coStatus = new ItemCheckoutStatus(checkoutId, checkoutType, coStatus.getUser(), version,
				(new Date()).getTime(), coStatus.getProjectPath());
			checkouts.put(checkoutId, coStatus);
			if (checkoutType != CheckoutType.TRANSIENT) {
				try {
					writeCheckoutsFile();
				}
				catch (IOException e) {
					item.log("ERROR! failed to update checkout version", coStatus.getUser());
				}
			}
		}
	}
Update the version associated with the specified checkout

@param checkoutId checkout ID to be updated
@param version item version to be associated with checkout
Ghidra/Framework/FileSystem/src/main/java/ghidra/framework/store/local/CheckoutManager.java