Update parallel function