update checkin logic for mobile