updates nested_attributes example