updating documentation on TWIG functions