benchmarks code update