Check in function

Check in now updates the view