update FIFO to real FIFO