update record fix