Updates to dom and live variables