update class member function pointer