update as OpenMP example