update number class