class initialization update