just updating

updating fifo and LRU algorithm