update example class