Added state history updater