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

Fixes https://github.com/backdrop/backdrop-issues/issues/417.