updated 'device' to 'device_version'