added updateXXX methods to mech prefs generation, fixes #181
Merge pull request #185 from fluxtah/master

added updateXXX methods to mech prefs generation, fixes #181