update docs for hook system