update after class