Store use thread local variable for updated entities