JGithubHooks::edit

Method to edit a hook.