[VN] update example code in main.cpp