change: add function to modify the record