Updates to dom class.