update to dom parents