Fixed update visitation record

Fixed update visitation record operation, combined with Michael's code
Merge branch 'master' of https://github.com/wlindsay/ECE356-Project