update parallel method