Performing conditional updates, only when something in the states
really changed.