Update classes and links for references