On statechange apply only difference