update shared_ptr