change the record generater