pthread update