updating multi-thread gestion