updating checkin functinality