add type to acceptable_attributes