added updateXXX methods to mech prefs generation, fixes #181