update sample using benchmark_main