add nested attributes