public boolean diffForUpdate(Update res, FunctionDescription fromDB) {
		res.function_name = !function_name.equals(fromDB.function_name);
		flags = (0xfffffff9 & flags) | (fromDB.flags & 6); // keep bits 1 and 2 of database flags
		res.flags = (flags != fromDB.flags);
		id = fromDB.id;
		res.update = this;
		return res.function_name || res.flags;
	}
Update the boolean fields in -res- to true, for every field in -this- that needs to be updated from -fromDB-
@param res stores the boolean results for which fields to update
@param fromDB is the metadata to compare with -this- to decided if updates are necessary
@return true if one or more updates is necessary
Ghidra/Features/BSim/src/main/java/ghidra/features/bsim/query/description/FunctionDescription.java