added checkin and checkouts with single entity, by updating the checkin by ID