fixed saving default_attribute_id field on edit entity type page