Updates the smart classes.