edit hook doc