updates device and the format of platforms