Update parallel code.