updating example class.