Use meta as a state variable?

Is there any way to update the meta and use it as a state variable? What’s the best approach to keep state of what is going on on each entry? Maybe an external LRU cache?