Update documentation for  twig function