update api documenation hooks