Issue #417: Update hooks should not use deprecated variable_set/get/del() functions.
Merge pull request #533 from quicksketch/417/update_variable_functions

Issue #417: Update hooks should not use deprecated variable_set/get/del() functions.