+update class defintions