updating social classes