update for parallel