Implemented a feature for updating the attributes of the HTML tag