add post-receive hook to admin template