developing nested attributes for edit form