updating threading with new blackbird api