update for undefined elements on the page