updating the fifo queue thread