Updated to output record data upon save