Update mobilecheck function