update class of html