updated class