change devices index api to export all data info