Update to dom