update class methods