updating thread states (and order) on thread list