Updated mobile and devices

Updated mobile functions and changed how data from switchking would be
collected for better speed.