Ah, ok, for some reason I thought controller functions were available to the view.
row.update_record is going to actually modify the text in the database (if that's what you want). What you originally had and what I proposed only affected it displayed while leaving the record in its original form in the database.

