example WaitForUpdatesEx call and utility to build full traversal spec, based on the one from the java API