Update ctags generation function