Update to stateLib.