update thread queue file