add type field to device_tokens