update the class info