Update document of hook