change the stylesheet in add_attribute