Updates to dom