rename index
support multiple devices