update HTML element IDs