updated record controller
updates to record view controller and main controller #32