update html classes and references in stylesheet