make DEVICEDB depending on model type