Update multithread code;