update stub constructor/destructor