fixed updates where length of new record is longer than existing record