update style to match class not id