update threads