update before class