Fixes for the __update_model() to prevent the model data being overwritten or too many params added.
Authored by: bugman 2008-07-09
Parent: [r6876]
Child: [r6878]