update documentation for the tp module