Update function index
Anotate documentation with bash codeblocks