Fix hooks toggling

When changing adapter to make it work with env vars I used PATCH method.
Hooks are using PUT to update active fields, so it broke hooks. This
commit moves saveRecord with PATCH to env vars' adapter.