update required `class`