update func f_sum_benchmark in lab 2