Change updateElement() definition.