Write hooks guide for v3