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