updates to deep_ptr