parallel and main update