pre class update