updated cache plugin