save hash back for nested