turned the result into plaintext
current code is getting the changes and putting them into db