update member function