Fixed issue with updating record from csv