improve nested_attributes for polymorphic parent