Update to a class.