Update document about hooks