Add new field device_type to device_table