Updating DB Records

See my comments in this thread which explains the use of parameters and how they interact, it may help