fix dom collection updates