Update custom-element.