update to deep ostruct