State history updates. Load/API optimizations