public void updateBookmark(String address, String type, String category, String comment) {

		startTransactions();
		try {
			for (Program p : programs) {
				BookmarkManager bm = p.getBookmarkManager();
				Bookmark[] bookmarks = bm.getBookmarks(addr(p, address), type);

				if (category == null) {
					category = bookmarks[0].getCategory();
				}

				if (comment == null) {
					comment = bookmarks[0].getComment();
				}

				bookmarks[0].set(category, comment);
			}
		}
		finally {
			endTransations();
		}
	}
A special test 'program-like' class that allows clients to *easily* make changes one
or more programs.  This is useful for merge tests, which need to setup an environment
that is the same for many different programs.
Ghidra/Features/Base/src/test/java/ghidra/program/database/MergeProgram.java