Changed update_record to use prepared statements.
Merge pull request #9246 from Noemj/update_prepared_statements

Changed update to use prepared statements