Its not that hard. After you read it the first time, store the column data into variables, then use those variables as keys for the update.