updated class number and number of members