update memberfunc