Update DomElement with constructor