Perform the replacement on the recorded entry