Am trying to update another table with this code below..

/**
* Update a record on another table
*/
...