update thread setup with a good cap