updating social classes and security classes