update documentation for nthread option