update tip
fix template local variable error when using refresh mode
update tips documentation to include other template languages
update the document for templating languages