updating style rules on index as well