update some hook templates